projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1906d5
)
(c-backward-to-start-of-if): Don't assume point-min == 1.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Fri, 12 Apr 2002 03:05:04 +0000
(
03:05
+0000)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Fri, 12 Apr 2002 03:05:04 +0000
(
03:05
+0000)
lisp/progmodes/cc-engine.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/cc-engine.el
b/lisp/progmodes/cc-engine.el
index 0a9053f04d01f6d5044cf1aeba6b48de88616474..4f21f083fe5f4fa9385abfa66ee0ac494e50e804 100644
(file)
--- a/
lisp/progmodes/cc-engine.el
+++ b/
lisp/progmodes/cc-engine.el
@@
-963,7
+963,7
@@
brace."
(c-beginning-of-statement-1)
(setq c-parsing-error
(format "No matching `if' found for `else' on line %d"
- (1+ (count-lines
1
here))))
+ (1+ (count-lines
(point-min)
here))))
(throw 'orphan-if nil))))
(cond
((looking-at "else\\b[^_]")